module.exports = {
    Msg: {
        RESULT_SUCCESS: 'ok',
        MISSION_UNDEFINED: '任务信息不存在',
        USER_NOT_FOUND: '用户不存在',
        REWARD_NUM_INSUFFICIENT: '领取次数不足',
        MISSION_INCOMPLETE: '任务未完成',
        REWARD_RECEIVED: '奖励已领取',
        NOT_SEND_PROFIT: '今日还未分红',
        NOT_ENOUGH: '分红已被抢完，明日早点来哦',
        CAN_NOT_PROFIT: '昨日没有获取石油'
    },
    Code: {
        SUC: 200,
        ERR: 500
    },
    RedisPrefix: {
        DAILY_MISSION_PREFIX: 'daily_mission_', //每日任务缓存
        WORLD_RANK_PREFIX: 'world_rank_list', //世界排行缓存
        WORLD_RANK_GUARDIAN_PREFIX: 'world_rank_guardian', //世界排行穿透防护
        OIL_DETAIL_PREFIX: 'jewel_detail_page_', //用户宝石明细缓存
        SON_LIST_PREFIX: 'son_list_page_', //用户徒弟数据缓存
        GRAND_SON_LIST_PREFIX: 'grand_son_list_page_', //用户徒孙数据缓存
        PAGE_PREFIX: 'page_', //页码key
        CHEST_LIST_PREFIX: 'chest_list_', //用户宝箱数据缓存
        WITHDRAW_PREFIX: 'withdraw_log_', //用户提现记录
        INCOME_PREFIX: 'income_list_page_', //用户收益明细
        BONUS_PREFIX: 'bonus_list_page_', //分红收益明细缓存
        BONUS_RECORD: 'bonus_record_', //分红领取记录
        COMMAND_TASK: 'commander_task_', //百团任务
        PROFIT_PREFIX: 'profit_qualify_length', //领取红分的资格
        PROFIT_OLD: 'profit_qualify', //分红资格旧key
        DAILY_INVITE_NUMBER: 'daily_invite_number_', //单日邀请记录
        MACHINE_TOTAL_JEWEL: 'machine_total_jewel', //矿机全网矿石总量
        ACHIEVEMENT_MISSION: 'achievement_mission', //成就任务缓存
        PROFIT_TOTAL: 'profit_total_', //分红总量
        PROFIT_SURPLUS: 'profit_surplus_', //分红剩余
        PROFIT_PERSON: 'profit_person_', //个人分红
        YESTERDAY_TOTAL_OIl: 'yesterday_total_oil_', //昨日石油总量
        DAILY_BALANCE_RECEIVE: 'profit_receive_', //单日领取记录
        PLAY_TOTAL_VIDEO: 'PLAY_TOTAL_VIDEO', //用户总视频数量
        PLAYER_VALID_SON_SET: 'player_valid_son_set_' //用户邀请的有效徒弟集合
    },
    LockKey: {
        DAILY_MISSION_LOCK: 'daily_mission_lock', //每日视频次数锁
        BONUS_RECEIVE_LOCK: 'bonus_receive_lock', //分红领取锁
        WITHDRAW_LOCK: 'withdraw_lock', //提现锁
        MACHINE_LOCK: 'machine_lock' //矿机锁
    },
    Constant: {
        OIL_SOURCE_INVITE: 'invite', //邀请徒弟奖励来源
        OIL_INVITE_NUM: 20, //邀请徒弟奖励石油
        OIL_SOURCE_SON: 'son_video', //徒弟看30次视频奖励
        OIL_SON_NUM: 8, //徒弟看30次视频奖励
        OIL_SOURCE_GRANDSON: 'grandson_video', //徒孙看30次视频奖励
        OIL_GRANDSON_NUM: 4, //徒孙看30次视频奖励
        OIL_SOURCE_PERSONAL: 'personal_video', //自己看30次视频奖励
        OIL_PERSONAL_NUM: 3
    }
}
